package com.blb.service;

import com.blb.entity.Commodity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuzhuo
 * @since 2019-07-11
 */
public interface ICommodityService extends IService<Commodity> {
	
	/**
	 * 添加
	 * @param brand
	 * @param comtypes
	 * @return
	 * @throws Exception
	 */
	String add(Commodity commodity, @Param("comtypes")String comtypes,@Param("img")String dimg) throws Exception;
	
	/**
	 * 删除
	 * @param ids
	 * @throws Exception
	 */
	void delete(List<String> ids) throws Exception;
}
